﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/admin.master" AutoEventWireup="true" CodeFile="describtion.aspx.cs" Inherits="aspx_admin_others_describtion" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Title" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">

    <asp:FormView ID="FormView1" runat="server" DataKeyNames="讲堂简介ID" DataSourceID="ods讲堂简介" DefaultMode="Edit" EnableModelValidation="True" OnItemUpdating="FormView1_ItemUpdating" OnItemUpdated="FormView1_ItemUpdated">
        <EditItemTemplate>
            首页:<br />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ErrorMessage="*" Display="Dynamic" ControlToValidate="donot" runat="server" />
            <asp:TextBox ID="donot" runat="server" Text='<%# Bind("首页") %>' Rows="5" Columns="100" TextMode="MultiLine" CausesValidation="true" ClientIDMode="Static" />
            <br />
            详细:<asp:RequiredFieldValidator ID="RequiredFieldValidator2" ErrorMessage="*" ControlToValidate="详细TextBox" runat="server" Display="Dynamic" />
            <asp:TextBox ID="详细TextBox" runat="server" Text='<%# Bind("详细") %>' Rows="5" Columns="100" TextMode="MultiLine" CausesValidation="true" />
            <br />
            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" Text="更新" CssClass="btn" /><br />
            发布时间:
            <asp:Label ID="发布时间TextBox" runat="server" Text='<%# Bind("发布时间") %>' />

            <br />
            讲堂简介ID:
            <asp:Label ID="讲堂简介IDLabel1" runat="server" Text='<%# Eval("讲堂简介ID") %>' />
            <br />
        </EditItemTemplate>
    </asp:FormView>
    <asp:ObjectDataSource ID="ods讲堂简介" runat="server" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="GetDataByTOP1" TypeName="ds_名师讲堂TableAdapters.tb_讲堂简介TableAdapter" UpdateMethod="Update">
        <DeleteParameters>
            <asp:Parameter Name="Original_讲堂简介ID" Type="Int32" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="首页" Type="String" />
            <asp:Parameter Name="详细" Type="String" />
            <asp:Parameter Name="发布时间" Type="DateTime" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="首页" Type="String" />
            <asp:Parameter Name="详细" Type="String" />
            <asp:Parameter Name="发布时间" Type="DateTime" />
            <asp:Parameter Name="Original_讲堂简介ID" Type="Int32" />
        </UpdateParameters>
    </asp:ObjectDataSource>
</asp:Content>